Preview - From Ecosystems To Speciation

BehaviorSpace Experiment


Download this Bacteria Food Hunt - Natural Selection NetLogo Model. You MUST have NetLogo installed on your computer to use the downloaded version of the model.

The software that you are using to explore the phenomenon of natural selection, NetLogo, has a feature called BehaviorSpace that can be used to conduct such experiments. 

In this part you will use BehaviorSpace to conduct an experiment for investigating the effect of ENERGY-COST-PER-FLAGELLUM on 'avg. # of flagella' in the population after a certain time period. 

  • Go to "Tools" at the top of the screen and click "BehaviorSpace"
  • Create a new experiment.
Vary variables as follows

["trace-paths?" false]
["#-phenotypes" 6]
["resource-location" "around a central point"]
["visualize-phenotype" "flagella and color"]
["energy-cost-per-flagellum" [0.1 0.1 0.7]]
["initial-#-bacteria-per-phenotype" 8]
["resource-distribution" 40]

Repetitions 5
Run combinations in sequential order Checked
Measure runs using these reporters mean [phenotype] of bacteria
Measure runs at every step Unchecked
Setup commands setup
Go commands go
Time limit 5000

 

  • The independent variable in this experiment will be the energy-cost-per-flagellum. In order to vary the energy-cost-per-flagellum, you will use the the BehaviorSpace tool. The format below is for varying this parameter systematically. 

["energy-cost-per-flagellum" [energy-cost-in-the-first-run step-size energy-cost-in-the-final-run] ]

  • Press OK and run the experiment.
  • Select "Table output".
  • Uncheck "Update view" and "Update plots and monitors" to run the experiment faster. 
  • The output will be in the form of a "csv" file. You will open it in Excel to analyze your data.

[* In case if you have problems using the BehaviorSpace experiment, use this data for your analysis.]


Questions

Please answer the questions below.

We are using the code  "mean [phenotype] of bacteria" to generate desired output after each run. Explore the 'code' tab of the NetLogo Model above and explain how this code will give us the desired value of the dependent (output) variable. 


In the spreadsheet file, create a plot of your dependent variable vs your independent variable. Upload the spreadsheet file here.

Upload files that are less than 5MB in size.
File Delete

Describe and explain your observations from the BehaviorSpace computational experiment that you just performed and analyzed.


Notes

These notes will appear on every page in this lesson so feel free to put anything here you'd like to keep track of.